<?php
/**
 * PostStatus model
 *
 * @property int $id
 * @property string $name
 * @property array $posts
 */
class PostStatus extends MModel {

    static $table_name = 'ml_blog_posts_status';
    static $has_many = array(
        array('ml_blog_posts', 'class_name' => 'Post'),
    );
    static $alias_attribute = array(
        'posts' => 'ml_blog_posts',
    );

}

?>
